package com.game.majiang.algorithm.niuniu;

import lombok.Data;

@Data
public class card {
	public card(int value)
	{
		//LogManager.getInstance().Log(value);
		switch (value) {
		
		case 1:
			type = carddata.hei1;
			break;
		case 2:
			type = carddata.hei2;
			break;
		case 3:
			type = carddata.hei3;
			break;
		case 4:
			type = carddata.hei4;  
			break;
		case 5:
			type = carddata.hei5;
			break;
		case 6:
			type = carddata.hei6; 
			break;
		case 7:
			type = carddata.hei7;
			break;
		case 8:
			type = carddata.hei8;
			break;
		case 9:
			type = carddata.hei9;  
			break;
		case 10:
			type = carddata.hei10;  
			break;
		case 11:
			type = carddata.hong1;
			break;
		case 12:
			type = carddata.hong2;  
			break;
		case 13:
			type = carddata.hong3; 
			break;
		case 14:
			type = carddata.hong4; 
			break;
		case 15:
			type = carddata.hong5; 
			break;
		case 16:
			type = carddata.hong6;   
			break;
		case 17:
			type = carddata.hong7;
			break;
		case 18:
			type = carddata.hong8;   
			break;
		case 19:
			type = carddata.hong9;  
			break;
		case 20:
			type = carddata.hong10;  
			break;
		case 21:
			type = carddata.mei1;
			break;
		case 22:
			type = carddata.mei2; 
			break;
		case 23:
			type = carddata.mei3; 
			break;
		case 24:
			type = carddata.mei4;
			break;
		case 25:
			type = carddata.mei5; 
			break;
		case 26:
			type = carddata.mei6;
			break;
		case 27:
			type = carddata.mei7;
			break;
		case 28:
			type = carddata.mei8;  
			break;
		case 29:
			type = carddata.mei9;  
			break;
		case 30:
			type = carddata.mei10;  
			break;
		case 31:
			type = carddata.fang1;
			break;
		case 32:
			type = carddata.fang2; 
			break;
		case 33:
			type = carddata.fang3; 
			break;
		case 34:
			type = carddata.fang4;
			break;
		case 35:
			type = carddata.fang5; 
			break;
		case 36:
			type = carddata.fang6;
			break;
		case 37:
			type = carddata.fang7;
			break;
		case 38:
			type = carddata.fang8;  
			break;
		case 39:
			type = carddata.fang9;  
			break;
		case 40:
			type = carddata.fang10;  
			break;
		case 41:
			type = carddata.xw;  
			break;
		case 42:
			type = carddata.dw;  
			break;
		case 51:
			type = carddata.heij;  
			break;
		case 52:
			type = carddata.heiq;  
			break;
		case 53:
			type = carddata.heik;  
			break;
		case 61:
			type = carddata.hongj;  
			break;
		case 62:
			type = carddata.hongq;  
			break;
		case 63:
			type = carddata.hongk;  
			break;
		case 71:
			type = carddata.meij;  
			break;
		case 72:
			type = carddata.meiq;  
			break;
		case 73:
			type = carddata.meik;  
			break;
		case 81:
			type = carddata.fangj;  
			break;
		case 82:
			type = carddata.fangq;  
			break;
		case 83:
			type = carddata.fangk;  
			break;
		default:
			type = carddata.NULL;
			break;
		}
	}
	public carddata type;
}
